package bud.web.boardshop.service;

import java.util.List;


import bud.vo.BoardFormDTO;
import bud.vo.BoardshopDTO;
import bud.vo.ReplyshopDTO;

public interface IBoardshopService {
	public enum BoardshopResult{OK, FAILED, NOTEXIST, INVALIDPASSWORD}
	public List<BoardshopDTO> getBoardshopList(BoardFormDTO formDTO);
	public int getBoardshopCount(BoardFormDTO formDTO);
	public BoardshopDTO getBoardshop(Integer bsh_no);
	public BoardshopResult createBoardshop(BoardshopDTO boardbud);
	public BoardshopResult modifyBoardshop(BoardshopDTO boardbud);
	public BoardshopResult removeBoardshop(BoardshopDTO boardbud);
	
	//댓글 관리용 메소드 추가
	public List<ReplyshopDTO> getRshList(BoardFormDTO form);
	public int insertReplyshop(ReplyshopDTO replyshop);
	public int deleteReplyshop(ReplyshopDTO replyshop);
	
	//댓글 페이징과 관련된 메소드 추가
	public int getRshCount(Integer rsh_ref_key);
	
}
